package iso3.pt.action;
import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionSupport;

import iso3.pt.dao.IncorrectPasswordException;
import iso3.pt.dao.UserNotFoundException;
import iso3.pt.model.Alumno;
import iso3.pt.model.Profesor;
import iso3.pt.service.PtDaoService;
import iso3.pt.service.PtService;

import java.util.Map;


public class LogoutAction  extends ActionSupport {

    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	
	public String execute() throws Exception 
	{
		Map session = ActionContext.getContext().getSession();		
		session.clear();
		return SUCCESS;
	}
}